package jwr.basic;

import java.util.Scanner;

public class LeapYear {

	public static void main(String[] args) {
		int year;
		Scanner sc = new Scanner(System.in);
		System.out.println("년도를 입력해주세요");
		year = sc.nextInt();
		sc.close();
		if(year%4==0 && year%100!=0 ||year%400==0){
				System.out.println(year+"년은 윤년입니다.");
		}else{
			System.out.println("윤년이 아닙니다.");
		}
	}

}
